package com.formiaomiao.demain.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class IsPushBean {

    @Id
    private Long id;                            //主键id
    @Property(nameInDb = "ChatMsgId")
    private String ChatMsgId;                   //会话id
    @Property(nameInDb = "ispush")
    private boolean ispush;                   //是否推送
    @Property(nameInDb = "bgpath")
    private String bgpath;                   //聊天背景
    @Generated(hash = 1349561005)
    public IsPushBean(Long id, String ChatMsgId, boolean ispush, String bgpath) {
        this.id = id;
        this.ChatMsgId = ChatMsgId;
        this.ispush = ispush;
        this.bgpath = bgpath;
    }
    @Generated(hash = 886298625)
    public IsPushBean() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getChatMsgId() {
        return this.ChatMsgId;
    }
    public void setChatMsgId(String ChatMsgId) {
        this.ChatMsgId = ChatMsgId;
    }
    public boolean getIspush() {
        return this.ispush;
    }
    public void setIspush(boolean ispush) {
        this.ispush = ispush;
    }
    public String getBgpath() {
        return this.bgpath;
    }
    public void setBgpath(String bgpath) {
        this.bgpath = bgpath;
    }

}
